package com.yuandian.management.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yuandian.api.management.entity.ConfAlarmDimension;
import com.yuandian.management.mapper.ConfAlarmDimensionMapper;
import com.yuandian.management.service.ConfAlarmDimensionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 告警维度明细-Service实现
 * @author zfsn
 * @date 2023-4-4
 */
@Service
public class ConfAlarmDimensionServiceImpl extends ServiceImpl<ConfAlarmDimensionMapper, ConfAlarmDimension>
		implements ConfAlarmDimensionService {

	@Autowired
	private ConfAlarmDimensionMapper confAlarmDimensionMapper;
	@Override
	public List<ConfAlarmDimension> queryDimensionByAlarmId(Integer id) {
		return confAlarmDimensionMapper.queryDimensionByAlarmId(id);
	}
}